<?php
require_once("lib/db_connection.php");
$cust = $_GET['cust'];
       $query_cust = "SELECT * FROM vendor_tbl WHERE company_id='".$_SESSION['company_id']."' and vendor_id='".$cust."' and isCustomer='1'";
       $result_cust = mysql_query($query_cust) or die("SELECT CUST ".mysql_error());
       $row_cust = mysql_fetch_array($result_cust);
       echo "new Array('".$row_cust['vendor_num']."','".$row_cust['city'].",".$row_cust['country']."')";
?>